.page {
  overflow: hidden;
}

.view {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  // --bottom-sheet-max-height: 80vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('../../../public/noiceImage/bg.png');
  background-color: #edf0f9;

  // background-color: #07476a;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 0rpx;

  padding-left: 30rpx;
  .devName {
    font-size: 60rpx;
    font-weight: 600;
    color: #000;
  }

  .batteryBoxContainer {
    position: relative;
  }
  .batteryBox {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .emptyContainer {
    width: 76rpx;
    height: 45rpx;
  }

  .batteryBoxCharge {
    // 添加更明确的动画属性设置
    animation-name: fadeInOut;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: both; // 保持动画结束时的状态
    animation-play-state: running; // 确保动画处于运行状态
  }

  .tips {
    position: absolute;
    width: 52rpx;
    height: 52rpx;
    top: 50rpx;
    right: 10rpx;
  }

  @keyframes fadeInOut {
    0% {
      opacity: 0.3;
    }
    20% {
      opacity: 0.5;
    }
    100% {
      opacity: 1;
    }
  }

  .headerRight {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .addAlarmBox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 10rpx;
    padding-inline: 20rpx;
    height: 74rpx;
    color: #000;

    .addAlarmIcon {
      height: 48rpx;
      width: 48rpx;
      margin-right: 10rpx;
    }
  }
}

.homeBox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 50rpx;

  .switchContainer {
    padding-left: 80rpx;
    position: relative;
    height: 489rpx;

    .bigLog {
      position: absolute;
      top: 140rpx;
      right: 130rpx;
      width: 143rpx;
      height: 236rpx;

      .imgContainer {
        object-fit: contain;
        width: 143rpx;
        height: 236rpx;
        z-index: 4;
        position: relative;
      }
      .canvas {
        width: 144rpx;
        height: 201rpx;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
      }
    }
  }
  .switchBox {
    margin-top: 30rpx;
    margin-bottom: 40rpx;
    display: flex;
    flex-direction: column;

    .switchText {
      color: #585e64;
      font-size: 28rpx;
      margin-bottom: 10rpx;
    }
  }
  .songInfo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    .songImage {
      height: 80rpx;
      width: 80rpx;
      margin-right: 20rpx;
    }
    .title {
      color: #000;
    }
  }
}

.soundBox {
  // padding-inline: 20rpx;
  height: 100%;
  padding-bottom: 50rpx;

  .controlBoxSound {
    margin-top: 20rpx;
  }
}

.alarmsBox {
  .header {
    padding-left: 0;
  }
}

.timeBox {
  .PickerBox {
    padding-top: 36rpx;
    padding-inline: 28rpx;
    padding-bottom: 20rpx;
    background-color: #f1f3fc;
    border-radius: 30rpx;
    border: 2rpx solid #f7fafd;
    margin-bottom: 30rpx;
  }

  .timeText1 {
    font-size: 30rpx;
    color: #000;
  }

  .textBold {
    font-weight: 600;
    font-size: 40rpx;
    margin-bottom: 8rpx;
  }

  .timeText2 {
    font-size: 100rpx;
    font-weight: 600;
    color: #000;
    margin-top: 10rpx;
    margin-right: 15rpx;
  }

  .timeText3 {
    font-size: 48rpx;
    color: #000;
  }
  .header {
    padding-left: 0rpx;
  }

  .saveBtn {
    padding-inline: 28rpx;
    padding-block: 28rpx;
    background-color: #165dff;
    border-radius: 30rpx;
    border: 2rpx solid #f7fafd;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 36rpx;
    margin-inline: 40rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30rpx;
    margin-bottom: 30rpx;
  }
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  .icon {
    margin-right: 18rpx;
    width: 48rpx;
    height: 48rpx;
  }

  .label {
    font-size: 28rpx;
    font-weight: 400;
  }

  .value {
    font-size: 28rpx;
    font-weight: 600;
    color: #1961ce;
  }
}

.slideUpContent {
  padding-inline: 20rpx;
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-inline: 20rpx;
}

.borBot {
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;
}

.navBar {
  --nav-bar-background-color: transparent;
  --nav-bar-title-text-color: #000;
  --nav-bar-arrow-color: #000 !important;
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;

  .tabTopIconWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 36rpx;
      width: 36rpx;
      object-fit: contain;
    }
  }
  .tabTopIconWrapLeft {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 36rpx;
      width: 20rpx;
      object-fit: contain;
    }
  }
}

.controlBox {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 710rpx;
  height: 100rpx;
  border-radius: 10rpx;
  background-color: #fff;
  margin-top: 40rpx;
  padding-inline: 36rpx;
}

.controlBoxItemWrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.controlBoxCenter {
  // background-image: url('../../../public/noiceImage/center.png');
  // background-size: 78rpx 78rpx;
  // background-position: center center;
  // border: 2rpx solid #000;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  margin: 0 50rpx;
  border-radius: 39rpx;
  background-color: #fff;
  height: 74rpx;
  width: 74rpx;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  .controlBoxItem {
    width: 30rpx;
    height: 30rpx;
  }

  .play {
    width: 36rpx;
    height: 36rpx;
  }
}

.controlBoxItem {
  width: 36rpx;
  height: 36rpx;
}
